/* You can add global styles to this file, and also import other style files */
body {
  font-family: Microsoft YaHei;
  font-family: "微软雅黑";
}

// 自定义检测浏览器弹窗
.mark {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  height: 0.88rem;
  line-height: 0.88rem;
  width: 80%;
  text-align: center;
  font-size: 0.28rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0.1rem;
}

html, body {
  min-width: 1300px;
}

html {
  overflow: hidden;
}

p {
  margin: 0;
}

ul {
  padding: 0;
}

li {
  list-style: none;
}

body {
  overflow: hidden;
}

/**方正粗倩**/
@font-face {
  font-family: fangzheng;
  src: url("assets/font/fangzhengcuqian.ttf");
}

/**华文行楷**/
@font-face {
  font-family: stxingka;
  src: url("assets/font/stxingka.ttf");
}

.ztree {
  padding: 0;
}

.flex {
  display: -webkit-flex;
  display: flex;
}

.flex-direction-column {
  flex-direction: column;
}

.flex-justify-start {
  justify-content: flex-start;
}

.flex-justify-center {
  justify-content: center;
}

.flex-justify-end {
  justify-content: flex-end;
}

.flex-space-between {
  justify-content: space-between;
}

.flex-justify-around {
  justify-content: space-around;
}

.flex-align-start {
  align-items: flex-start;
}

.flex-align-center {
  align-items: center;
}

.flex-align-end {
  align-items: flex-end;
}

.flex-wrap-nowrap {
  flex-wrap: wrap;
}

.text-overflow {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

nz-date-picker > nz-picker > .ant-calendar-picker,
nz-range-picker > nz-picker,
nz-range-picker > nz-picker > .ant-calendar-picker {
  width: 100%;
}

.h100 {
  height: 100%;
}

.w100 {
  width: 100%;
}

.t-a {
  text-align: center;
}

img {
  width: 100%;
  height: 100%;
  font-size: 0;
}

/*****登录****/
app-login {
  width: 100%;
  height: 100%;
}

app-login .ant-form label {
  font-size: 15px !important;
}

button:disabled {
  cursor: not-allowed !important;
}

/*系统开始*/
app-root,
app-pages,
nz-layout,
nz-content {
  height: 100%;
  width: 100%;
  display: block;
}

nz-header {
  background: #00A2FF !important;
}

.ant-layout-header {
  height: 50px !important;
  line-height: 50px !important;
  padding: 0 15px !important;
}

.ant-layout-sider-collapsed {
  width: 60px !important;
  flex: 0 0 60px !important;
  max-width: 60px !important;
  min-width: 60px !important;
}

.h-1 {
  height: 10%;
}

.h-2 {
  height: 20%;
}

.h-2_5 {
  height: 25%;
}

.h-3 {
  height: 30%;
}

.h-3_3 {
  height: 33.3%;
}

.h-4 {
  height: 40%;
}

.h-5 {
  height: 50%;
}

.h-6 {
  height: 60%;
}

.h-6_6 {
  height: 66.6%;
}

.h-8 {
  height: 80%;
}

.h-9_5 {
  height: 95%;
}

.w-1 {
  width: 10%;
}

.w-2_5 {
  width: 25%;
}

.w-3 {
  width: 30%;
}

.w-3_3 {
  width: 33.33%;
}

.w-3_5 {
  width: 35%;
}

.w-4 {
  width: 40%;
}

.w-4_5 {
  width: 45%;
}

.w-5 {
  width: 50%;
}

.w-6 {
  width: 60%;
}

.w-6_6 {
  width: 66.66%;
}

.w-7 {
  width: 70%;
}

.w-9 {
  width: 90%;
}

.font-bold {
  font-weight: bold;
}

/*溢出省略号*/
.spance {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fl-l {
  float: left;
}

.fl-r {
  float: right;
}

.ant-form-item {
  margin-bottom: 15px !important;
}

/*滚动条 begin*/
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar-thumb {
  background-color: #BFDCC9;
  border-radius: 5px;
}

/***模态框**/
.right-table {
  float: right;
  min-width: 750px;
  padding-left: 10px;
  border-left: 1px solid lightgrey;
}

.left-table {
  float: left;
  width: 220px;
  min-width: 180px;
  overflow: auto;
}

nz-modal .ant-modal-footer .ant-btn {
  height: 28px;
}

nz-modal .ant-modal-body {
  padding: 10px 24px;
}

nz-modal .ant-modal-title {
  font-weight: bold;
}

/**table 居中*/
.ant-table-thead > tr > th, .ant-table-tbody > tr > td {
  text-align: center;
}

app-menu .ant-table-thead > tr > th {
  text-align: left;
}

.ant-table-tbody > tr:nth-child(even) {
  background-color: #fbfbfb;
}

/**操作颜色*/
.firOpera {
  margin-right: 10px;
}

.tableCheck {
  width: 50px;
}

.iconSpan {
  display: inline-block;
  width: 53px;
  height: 20px;
  line-height: 20px;
  border-radius: 30px;
  color: white;
  margin-left: 5px;
  text-align: center;
}

.statusGray {
  background-color: lightgrey;
}

.iconSpanSuccess {
  background-color: #17D57E;;
}

.iconSpanGray {
  background-color: lightgray;
}

.operaFont {
  cursor: pointer;
  color: #1890ff;
}

.operaTao {
  cursor: pointer;
  color: #ff4d4f;
}

.operaRed {
  cursor: pointer;
  color: #FF4338;
}

.operaGreen {
  cursor: pointer;
  color: #00D886;
}

.noOperaFont {
  color: #787878;
}

.operaSuccess {
  cursor: pointer;
  color: #17D57E;
}

.operaOrange {
  cursor: pointer;
  color: #FF8B53;
}

.ant-modal-footer {
  clear: both;
}

.ant-modal-body {
  padding: 15px;
}

.over-y {
  overflow-y: auto;
}

.over-y-hid {
  overflow-y: hidden;
}

.over-x {
  overflow-x: auto;
}

.over-x-hid {
  overflow-x: hidden;
}

.ant-table-thead > tr > th {
  padding: 10px 10px !important;
  font-weight: bolder;
}

.ant-table-tbody > tr > td {
  padding: 8px 10px !important;
}

/**table 列名搜索样式**/
.ant-table-filter-dropdown {
  padding: 10px;
}

.ant-table-filter-dropdown .ant-btn-primary {
  margin-top: 10px;
  margin-right: 10px;
}

/**校验提示**/
.ant-form-explain {
  bottom: -21px;
  position: absolute;
  z-index: 6;
  padding: 2px 6px;
  color: #f5222d;
}

app-login .ant-form-explain {
  bottom: -16px;
  position: absolute;
  z-index: 6;
  left: 8px;
  padding: 0 5px;
}

/** table 样式 **/
.rightDiv {
  //position: relative;
  height: 100%;
  float: right;
  border-radius: 4px;
  width: 100%;
  background-color: #fff;
  overflow-y: auto;
}

.backStyle {
  background-color: #fff
}

.addEdit {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #fff;
  overflow-y: auto;
}

.exciseTableDiv {
  padding: 0 15px 15px 15px;
  height: 100%;
  display: inline-block;
  width: 100%;
}

.searchDiv input {
  display: inline-block;
  width: 180px;
}

.searchDiv label {
  margin-right: 20px;
}

.flexCountent {
  display: flex;
}

.tabFont {
  font-size: large;
  color: gray;
  font-weight: bolder;
}

.aRow {
  line-height: 60px;
}

.l-h {
  line-height: 56px;
}

.tableTop button {
  margin-right: 10px;
}

.tableTop button:last-child {
  margin-right: 0 !important;
}

.tableTop label button:last-child {
  margin-right: 0 !important;
}

.ant-table table {
  border-radius: 0;
}

/***平台管理--学生*/
.datePercent.ant-calendar-picker {
  width: 100%;
}

.position-r {
  position: relative;
}

.position-a {
  position: absolute;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.line-2 {
  line-height: 20px;
}

.line-3 {
  line-height: 30px;
}

.line-4 {
  line-height: 40px;
}

.line-5 {
  line-height: 50px;
}

.line-6 {
  line-height: 60px;
}

.wrapper-xs {
  padding: 5px;
}

.wrapper-ls {
  padding: 10px;
}

.wrapper-xls {
  padding: 15px;
}

.pad-sr {
  padding: 0 10px;
}

.pad-lr {
  padding: 0 20px;
}

.pad-t-l {
  padding-top: 10px;
}

.m-b-sm {
  margin-bottom: 10px;
}

.m-l-xs-5 {
  margin-left: 5px;
}

.m-r-z {
  margin-right: 0;
}

.m-r-xs-5 {
  margin-right: 5px;
}

.m-r-sm {
  margin-right: 10px;
}

.m-r-lm {
  margin-right: 20px;
}

.m-l-sm {
  margin-left: 10px;
}

.m-l-lm {
  margin-left: 20px;
}

.m-t-sm {
  margin-top: 10px;
}

.m-t-lm {
  margin-top: 20px;
}

.ml-l-ds {
  margin: 0 0 0 15px !important;
}

.TableIndex {
  width: 50px;
}

.just-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cursor {
  cursor: pointer;
}

.item-bl {
  display: inline-block;
}

.overf_h{
  overflow: hidden;
}

/****modal 高**/
@media screen and (min-width: 1920px) {
  .modal-hei {
    max-height: 580px;
    min-height: 80px;
  }
}

@media screen and (max-width: 1920px) {
  .modal-hei {
    max-height: 580px;
    min-height: 80px;
  }
}

@media screen and (max-width: 1680px) {
  .modal-hei {
    max-height: 420px;
    min-height: 80px;
  }
}

@media screen and (max-width: 1440px) {
  .modal-hei {
    max-height: 370px;
    min-height: 80px;
  }
}

@media screen and (max-width: 1366px) {
  .modal-hei {
    max-height: 370px;
    min-height: 80px;
  }
}

.mySelfStyle .ant-tabs-nav .ant-tabs-tab-active {
  background-color: #1890ff;
  color: #fff;
}

.fixedWidthTabs .ant-tabs-nav .ant-tabs-tab-active {
  background-color: #f5f9ff;
}

.fixedWidthTabs.ant-tabs .ant-tabs-left-bar {
  width: 200px;
}

.fixedWidthTabs.ant-tabs .ant-tabs-left-content {
  padding-left: 10px;
}

.fixedWidthTabs.ant-tabs .ant-tabs-left-bar .ant-tabs-tab {
  text-align: left;
}

/***拖动样式***/
/* in-flight clone */
.gu-mirror {
  position: fixed !important;
  margin: 0 !important;
  z-index: 9999 !important;
  opacity: 0.8;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: alpha(opacity=80);
  pointer-events: none;
}

/* 耗材start */
.left-cons {
  width: 210px;
  height: 100%;
  float: left;
  border-right: 1px solid #ccc;
}

.right-cons {
  width: calc(100% - 210px);
  width: -webkit-calc(100% - 210px);
  width: -moz-calc(100% - 210px);
  height: 100%;
  float: left;
}

.left-cons ul {
  padding: 0;
  width: 100%;
}

.left-cons ul li {
  list-style: none;
  margin-bottom: 8px;
  padding: 0 16px 0 28px;
  font-size: 14px;
  text-overflow: ellipsis;
  overflow: hidden;
  cursor: pointer;
  height: 40px;
  line-height: 40px;
}

.cons-selected {
  background-color: #e6f7ff;
  color: #1890ff;
  border-right: 3px solid #1890ff;
}

input:disabled {
  color: rgba(0, 0, 0, .25);
  background-color: #f5f5f5 !important;
  border-color: #d9d9d9;
  cursor: not-allowed;
}

.app-tit {
  line-height: 40px;
  border-bottom: 1px solid #ccc;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
}

.app-tit span:first-child {
  font-weight: normal;
  font-size: 14px;
}

.not-allowed {
  cursor: not-allowed !important;
}

.table {
  border: 1px solid #ddd;
  border-spacing: 0;
  border-collapse: collapse;
  width: 100%;
}

.table-bordered > tbody > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
  border: 1px solid #ddd;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
  padding: 10px;
  line-height: 1.42857143;
  vertical-align: middle;
  border-top: 1px solid #ddd;
  text-align: center;
}

.table > thead tr > th {
  background: #fafafa;
}

.new-class {
  height: 32px;
  line-height: 32px;
  border-radius: 3px;
  border: 1px dashed darkgrey;
  text-align: center;
  cursor: pointer;
  margin-top: 20px;
  color: #999;
}

.new-class i {
  font-size: 12px;
  margin-right: 10px;
}

.new-class:hover {
  border: 1px dashed #555;
  color: #555;
}

.modal-left {
  width: 30%;
  float: left;
}

.modal-right {
  width: 70%;
  float: left;
  padding-left: 10px;
  border-left: 1px solid lightgrey;
}

.w12 {
  width: 120px;
}

.w180 {
  width: 180px;
}

.topSearch {
  line-height: 50px;
  width: 100%;
  height: 50px;
}

.font-hui {
  font-size: 12px;
  color: #999;
  margin-left: 5px;
}

.ant-pagination {
  padding: 0 10px;
  line-height: 40px !important;
}

.ant-pagination-options-quick-jumper {
  line-height: 40px !important;
}

.tab-pad {
  padding: 0 8px;
}

.roleForStyle .ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected {
  background-color: #fff;
}

/*********平台管理--设备管理图片显示正常***********/
app-device-manage .ant-upload-list-item-info > span {
  width: 100%;
  height: 100%;
}

/*********系统消息弹框样式**********/
.noticeModal .ant-modal-header {
  background: url("assets/img/newsType/noticeTop.png");
}

.noticeTitle {
  text-align: center;
  color: #fff;
  letter-spacing: 10px;
}

.noticeCon {
  text-indent: 30px;
}

.ant-menu, .ant-menu ol, .ant-menu ul {
  background: #212D3D;
}

/**
去除table下边框
 */
.removeTableBottonLine {

}

.removeTableBottonLine > .ant-table-bordered .ant-table-thead > tr:not(:last-child) > th, .ant-table-placeholder {
  border-bottom: none !important;
}

.w-e-toolbar .w-e-menu {
  z-index: 999 !important;
}

.w-e-text-container {
  z-index: 999 !important;
}

.ant-upload-list-item-info > span {
  height: 100%;
  width: 100%;
}

.preview-content .ant-checkbox-wrapper > p {
  display: inline-block !important;
}

/*菜单样式*/
.nav > .ant-menu-submenu-inline >,
.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
.ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow::before,
.ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow::after,
.ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow::before,
.ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow::after,
.ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow::before,
.ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow::after,
.ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow::before {
  background-image: linear-gradient(to right, rgba(255, 255, 255, .65), rgba(255, 255, 255, .65)) !important;
}

.ant-menu-inline-collapsed > .ant-menu-item,
.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item,
.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title,
.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title {
  padding: 0 23px !important;
}

.font-bolder {
  font-weight: bolder;
}

.searchTopDiv {
  line-height: 50px;
  float: right;
}

.searchTopDiv input {
  width: 180px;
  margin-right: 20px;
}

/* 盒子*/
.cus_box {
  display: -webkit-box;
  display: -moz-box;
  -webkit-box-align: center;
  -webkit-box-pack: center;
  -moz-box-align: center;
  -moz-box-pack: center;
}

.degChange .ant-timeline-item-content {
  transform: rotate(-90deg) !important;
  padding: 20px;
}

.degChange .ant-timeline {
  margin-right: 185px;
}

.timelineStyle .ant-timeline-item-content {
  transform: rotate(-90deg) !important;
  padding: 50px 0 33px 14px;
}

.timelineStyle .ant-timeline-item {
  width: 35px;
}

.timelineStyle .ant-timeline {
  padding: 82px 11px 0 0 !important;
  width: 567px;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.ant-dropdown-menu {
  max-height: 320px;
  overflow-y: auto;
}

/* 开放时间设置的选择实训室样式*/
.set-style .ant-checkbox-wrapper {
  display: block !important;
  line-height: 35px;
}

.set-style .ant-checkbox-wrapper + .ant-checkbox-wrapper {
  margin-left: 0 !important;
}

// 轮播样式stat
.left-icon {
  height: 100%;
  width: 50px;
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 30px;
  color: white;
  line-height: 220px;
  text-align: center;
  cursor: pointer;
  opacity: 0.5;
}

.right-icon {
  height: 100%;
  width: 50px;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 30px;
  color: white;
  line-height: 220px;
  text-align: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0.5;
}

.imgContent {
  width: 25000px;
  height: 100%;
  left: 0;
  overflow: hidden;
  position: relative;
}

.imgGrid {
  display: inline-block;
  width: 480px;
  height: 100%;
}

// 轮播样式end

// 弹窗title
.titleGray {
  font-weight: bold;
  color: dimgray;
  font-size: 15px;
}

/*课堂资料upload 样式*/
.wi-upload .ant-upload.ant-upload-select {
  width: 100% !important;
}

.inpnum_w .ant-input-number-input {
  text-align: center;
}

.canvas-container {
  margin: 0 auto;
}

/******radio样式********/
app-paper-corection .sel-red .ant-radio-checked .ant-radio-inner {
  border-color: red;
}

app-paper-corection .sel-red .ant-radio-inner::after {
  background-color: red;
}

app-paper-corection .sel-blue .ant-radio-checked .ant-radio-inner {
  border-color: #1890ff;
}

app-paper-corection .sel-blue .ant-radio-inner::after {
  background-color: #1890ff;
}

/*编辑器隐藏html*/
.edui-btn-source {
  display: none !important;
}

.edui-toolbar .edui-separator {
  display: none !important;
}

app-personal-center .ant-form-item-label > label::after {
  content: '' !important;
}

.bggreen {
  background: #1BBE0A;
}

.bggray {
  background: #BFBFBF;
}

.bgorg {
  background: #FF8B53;
}

.bgred {
  background: #F5222D;
}

.spanW150 {
  display: inline-block;
  width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-word;
}

.spanW100 {
  display: inline-block;
  width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-word;
}

.spanW250 {
  display: inline-block;
  width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-word;
}

.ztree li span.button.bottom_open {
  background-position: -92px -54px !important;
}

.ztree li span.button.add {
  background-position:-143px 0 !important;
}

:host ::ng-deep .ant-calendar-picker  {
  width: 100% !important;
}

.red{
  color: #1890FF;
  font-weight: bold;
}

.startred{
  color: #D31B1B;
  margin-right: 3px;
}

/*表格顶部搜索等通用样式*/
.tabletopsearch{
  overflow: hidden;
  margin-bottom: 15px;
  .fl-r label{
    margin-right: 10px;
    input, .ant-select, nz-range-picker{
      width: 180px !important;
    }
    input.ant-calendar-range-picker-input{
      width: 150px !important;
    }
    .ant-calendar-picker{
      width: 350px !important;
    }
  }
  .fl-r label:last-child{
    margin-right: 0;
  }
}
//通用表格顶部搜索添加样式,参考写法
/*<div class="table-top-search">
    <div class="top-search-left">
        <button nz-button nzType="primary" (click)="AddHoliday()">
           <i nz-icon nzType="plus" nzTheme="outline"></i>新增
         </button>
    </div>
    <div class="top-search-right">
        <label>
            学年学期:
            <nz-select [(ngModel)]="currSemesterId" (ngModelChange)="changeSemester($event)">
                <nz-option [nzValue]="item.id" [nzLabel]="item.schoolYear + ' ' + item.semesterName" *ngFor="let item of semesterList;"></nz-option>
            </nz-select>
        </label>
        <label>
             学院指导老师:
            <input type="text" nz-input [(ngModel)]="holidaySearchParams.holidayName" placeholder="请输入学院指导老师名称">
        </label>
        <div class="table-top-btn">
            <button nz-button nzType="primary" (click)="clickSearch()">查询</button>
            <button nz-button nzType="default" (click)="resetSearch()">重置</button>
        </div>
    </div>
</div>*/
.table-top-search{
  overflow: hidden;
  margin-bottom: 15px;
  .top-search-left{
    float: left;
    button{
      margin-right: 10px;
    }
    button:last-child{
      margin-right: 0;
    }
    label{
      margin-right: 10px;
      nz-select, input{
        width: 180px;
      }
    }
    label:last-child{
      margin-right: 0;
    }
  }
  .top-search-right{
    float: right;
    label{
      margin-right: 10px;
      nz-select, input{
        width: 180px;
      }
    }
    label:last-child{
      margin-right: 0;
    }
  }
  .table-top-btn{
    display: inline-block;
    button{
      margin-right: 10px;
    }
    button:last-child{
      margin-right: 0;
    }
  }
}

//制度页面返回上一级样式
//<div class="backDiv">
//<span>审批意见</span>
//<span class="fl-r operaFont" (click)="back(false)">
//                                                  返回上一级<i class="fa fa-reply m-l-sm"></i>
//</span>
//</div>
.backDiv{
  height: 50px;
  font-size: 16px;
  background: #ECF0F5;
  line-height: 50px;
  padding: 0 20px;
  margin-bottom: 20px;
}
